package com.cn.wanxi.service.impl;

import com.cn.wanxi.dto.HomeModelDto;
import com.cn.wanxi.model.CompanyModel;
import com.cn.wanxi.service.IHomeService;

public class HomeServiceImpl implements IHomeService {
    /***
     * 增加公司信息
     * @param companyModel 传递公司的实体类
     * @return
     */
    @Override
    public int add(CompanyModel companyModel) {
        return 0;
    }

    /**
     * 封装home信息
     * 1.封装公司信息
     * 2.封装新闻信息
     * 3.封装产品信息
     * @return
     */
    @Override
    public HomeModelDto getHomeModelDto() {
        HomeModelDto homeModelDto=new HomeModelDto();
//        homeModelDto.set


        return null;
    }
}
